import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MarkedPipe } from '../pipes/marked.pipe';
import { MarkdownBlockComponent } from './markdown-block/markdown-block.component';
import { KatexBlockComponent } from './katex-block/katex-block.component';
import { TableBlockComponent } from './table-block/table-block.component';
import { CodeBlockComponent } from './code-block/code-block.component';
import { HtmlBlockComponent } from './html-block/html-block.component';
import { BaseBlockComponent } from './base-block/base-block.component';
import { CodemirrorEditorComponent } from './codemirror-editor/codemirror-editor.component';

const MyComponents = [
  MarkdownBlockComponent,
  KatexBlockComponent,
  TableBlockComponent,
  CodeBlockComponent,
  HtmlBlockComponent,
  BaseBlockComponent,
  CodemirrorEditorComponent,
  MarkedPipe
];

@NgModule({
  declarations: [MyComponents],
  exports: [MyComponents],
  imports: [CommonModule],
})
export class XBlocksModule {}
